package com.pmsystem.dao;

import com.pmsystem.pojo.ZoneParking;
import com.pmsystem.pojo.ZoneParkingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ZoneParkingMapper {
    long countByExample(ZoneParkingExample example);

    int deleteByExample(ZoneParkingExample example);

    int deleteByPrimaryKey(Integer zoneParkingId);

    int insert(ZoneParking record);

    int insertSelective(ZoneParking record);

    List<ZoneParking> selectByExample(ZoneParkingExample example);

    ZoneParking selectByPrimaryKey(Integer zoneParkingId);

    int updateByExampleSelective(@Param("record") ZoneParking record, @Param("example") ZoneParkingExample example);

    int updateByExample(@Param("record") ZoneParking record, @Param("example") ZoneParkingExample example);

    int updateByPrimaryKeySelective(ZoneParking record);

    int updateByPrimaryKey(ZoneParking record);

	/**  
	 * <p>Title: selectById</p >  
	 * <p>Description: </p >  
	 * @author 魏家洛
	 * @param parkingArea
	 * @return  
	 */  
	ZoneParking selectById(@Param("zoneParkingId") Integer zoneParkingId);

	/**  
	 * <p>Title: selectAllZoneParking</p >  
	 * <p>Description:查询所有停车分区数据</p >  
	 * @author 魏家洛
	 * @return  
	 */  
	List<ZoneParking> selectAllZoneParking();

	/**  
	 * <p>Title: insertZoneParking</p >  
	 * <p>Description:插入停车分区数据</p >  
	 * @author 魏家洛
	 * @param zoneParking
	 * @return  
	 */  
	int insertZoneParking(ZoneParking zoneParking);

	/**  
	 * <p>Title: deleteZoneParkingById</p >  
	 * <p>Description:通过ID删除停车场分区数据</p >  
	 * @author 魏家洛
	 * @param zoneParkingId
	 * @return  
	 */  
	int deleteZoneParkingById(@Param("zoneParkingId") Integer zoneParkingId);

	/**  
	 * <p>Title: updateZoneParkingByZoneParking</p >  
	 * <p>Description:更新停车场分区信息</p >  
	 * @author 魏家洛
	 * @param zoneParking
	 * @return  
	 */  
	int updateZoneParkingByZoneParking(ZoneParking zoneParking);
}